* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,body {
    width: 100%;
    height: 100%;
    background: url(/assets/images/login_bg.jpg) no-repeat center;
    background-size: cover;
}

.layui-main {
    margin-top: 20px;
}

.loginAndRegBox {
    padding: 0 30px;
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    .title {
        height: 60px;
        background: url(/assets/images/login_title.png) no-repeat center;
    }
    .btn {
        margin-top: 15px;
        font-size: 12px;
    }
    .layui-input {
        padding-left: 30px;
    }
    .layui-form-item {
        position: relative;
    }
    i {
        position: absolute;
        top: 10px;
        left: 10px;
    }
}